home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #8 / Software USA Volume 4.08.iso / mac / LifeStyles / ComicBase / ComicBase.sea / ComicBase 3 Mac Demo / ComicBase 3 Demo.rsrc / LENS_169_Calculate Which Statistics? < prev    next >
Text File  |  1998-02-04  |  3KB  |  62 lines

  1. ItemType: WIND
  2. Rect: 375,204,649,358
  3. Style: Dialog
  4. HasTitleBar: TRUE
  5. HasZoomBox: FALSE
  6. Name: Calculate Which Statistics?
  7. WhiteColor: -8739,-8739,-8739
  8. Script: --on windowEvent  wdID,wdName,objNo,objName,objValue¬¬if objValue="Open" then ¬  CenterWindow wdName, 3¬end if¬¬--end windowEvent
  9. Params: i1_Hilite¬i2_Hilite¬i3_Hilite¬i4_Hilite¬i2_Disabled¬i6_Disabled
  10. Result: i1_Hilite¬i2_Hilite¬i3_Hilite¬i4_Hilite
  11.  
  12. ItemType: CHK
  13. Rect: 13,13,154,25
  14. TextFont: Geneva
  15. TextSize: 9
  16. WhiteColor: -8739,-8739,-8739
  17. Name: Collection value statistics
  18. Balloon: Generates statistics such as the total number of comics in your collection, their value, price, and cost.
  19. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬if objValue = true then¬  wsSet wdID,"2","Disabled", "FALSE"¬  put false into OKIsDisabled¬else¬  wsSet wdID,"2","Disabled", "True"¬  wsSet wdID,"2","Hilite", "False"¬  put not ((wsGet(wdID,"3","Hilite")) or (wsGet(wdID,"4","Hilite"))) into OKIsDisabled¬end if¬¬wsSet wdID,"OK","Disabled",OKIsDisabled¬¬--end mouseUp¬¬
  20.  
  21. ItemType: CHK
  22. Rect: 31,33,200,45
  23. TextFont: Geneva
  24. TextSize: 9
  25. Disabled: TRUE
  26. WhiteColor: -8739,-8739,-8739
  27. Name: Include breakdowns by publisher
  28. Balloon: Generates a separate list of value statistics separated by publisher. For instance, how much your DC comics cost and are worth.
  29. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬--end mouseUp
  30.  
  31. ItemType: CHK
  32. Rect: 14,60,224,72
  33. TextFont: Geneva
  34. TextSize: 9
  35. WhiteColor: -8739,-8739,-8739
  36. Name: Titles with missing descriptions (slower)
  37. Balloon: Tells you how many titles are missing their descriptions (For instance, new titles you've added, but which you have not written descriptions for yet).
  38. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬if objValue = true then¬  put false into OKIsDisabled¬else¬  put not ((wsGet(wdID,"1","Hilite")) or (wsGet(wdID,"4","Hilite"))) into OKIsDisabled¬end if¬¬wsSet wdID,"OK","Disabled",OKIsDisabled¬--end mouseUp
  39.  
  40. ItemType: CHK
  41. Rect: 13,91,220,103
  42. TextFont: Geneva
  43. TextSize: 9
  44. WhiteColor: -8739,-8739,-8739
  45. Name: Titles with missing pictures (very slow)
  46. Balloon: Figures out which titles don't come with specific cover pictures. This can take some time, since the CD must be accessed to check each picture.
  47. Script: --on mouseUp  wdID,wdName,objNo,objName,objValue¬if objValue = true then¬  put false into OKIsDisabled¬else¬  put not ((wsGet(wdID,"1","Hilite")) or (wsGet(wdID,"3","Hilite"))) into OKIsDisabled¬end if¬¬wsSet wdID,"OK","Disabled",OKIsDisabled¬--end mouseUp
  48.  
  49. ItemType: PUSH
  50. Rect: 191,123,263,143
  51. Name: OK
  52. DefaultItem: TRUE
  53. AutoClose: TRUE
  54. Balloon: Begins calculating the statistics you've chosen.
  55.  
  56. ItemType: PUSH
  57. Rect: 107,123,179,143
  58. AutoSize: FALSE
  59. Name: Cancel
  60. CancelItem: TRUE
  61. AutoClose: TRUE
  62. Balloon: Exits without generating the statistics.